package com.xique.door.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xique.door.bean.domain.HouseClaim;
import com.xique.door.bean.request.buildHouse.HouseClaimPageRequest;
import com.xique.door.bean.search.build.HouseClaimListSearch;

import java.util.List;

/**
 * @author shd
 * @create 2022/4/19 9:52
 */
public interface IHouseClaimService extends IService<HouseClaim> {

    /**
     * 获取房屋认领列表（分页）
     * @author shd
     * @date 2022/4/19 14:46
     * @param request
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.xique.door.bean.domain.HouseClaim>
     */
    IPage<HouseClaim> selectHouseClaimPage(HouseClaimPageRequest request);

    /**
     * 获取房屋认领审核列表
     * @author shd
     * @date 2022/4/21 10:11
     * @param search
     * @return java.util.List<com.xique.door.bean.domain.HouseClaim>
     */
    List<HouseClaim> selectHouseClaimList(HouseClaimListSearch search);
}
